<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        .cell {
            width: 100px;
            height: 30px;
            border: 1px solid gainsboro;
            display: inline-block;
        }
        .row{
            font-size: 0;
        }
        .cell{
            font-size: 16px;
            vertical-align: top;
            text-align: center;
            line-height:30px ;
            
        }
        .color-orange{
            color: orange;
        }
        .bg-w{
            background-color: rgb(252, 252, 252);
        }
        .bg-g{
            background-color: rgb(235, 235, 235);
        }
        .row :first-child{
            /* 取消左边框 */
            border-left:none
        }
        .row :last-child{
            /* 取消右边框 */
            border-right: none;
        }
    </style>
</head>

<body>
    <div class="row">
        <div class="cell color-orange bg-g">(</div>
        <div class="cell color-orange bg-g">)</div>
        <div class="cell color-orange bg-g">%</div>
        <div class="cell">C</div>
    </div>
    <div class="row">
        <div class="cell bg-w">7</div>
        <div class="cell bg-w">8</div>
        <div class="cell bg-w">9</div>
        <div class="cell color-orange bg-g">÷</div>
    </div>
    <div class="row">
        <div class="cell bg-w">文字</div>
        <div class="cell bg-w"></div>
        <div class="cell bg-w"></div>
        <div class="cell bg-g"></div>
    </div>
    <div class="row">
        <div class="cell">文字</div>
        <div class="cell"></div>
        <div class="cell"></div>
        <div class="cell bg-g"></div>
    </div>
</body>

</html>